import { IsNotEmpty, IsOptional, IsString } from "class-validator";

export class UserRegisterDTO {
  @IsString()
  @IsNotEmpty()
  @IsOptional()
  readonly nickname?: string;

  @IsNotEmpty()
  @IsString()
  readonly username: string;

  @IsNotEmpty()
  @IsString()
  readonly password: string;
}
